package cn.deepxi.utils;



import javax.management.remote.SubjectDelegationPermission;
import java.util.List;
//GM返回格式其实很简单，封装两个字段totals和data就ok了
public class QueryResult<T>{
	private Long totals;
	private List<T> data;

	public QueryResult() {
		super();
	}

	public QueryResult(Long totals, List<T> data) {
		this.totals = totals;
		this.data = data;
	}

	public Long getTotals() {
		return totals;
	}

	public void setTotals(Long totals) {
		this.totals = totals;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
}

